package com.table;

import java.time.LocalDateTime;

public class PatientStatus extends FatherTable {
    // 患者状态表实体对象
    private Integer id;
    private String status;
    private String department;
    private String bedNumber;
    private String patientName;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    // 构造函数
    public PatientStatus() {
        super();
    }

    public PatientStatus(String status, String department, String bedNumber, String patientName) {
        super();
        this.status = status;
        this.department = department;
        this.bedNumber = bedNumber;
        this.patientName = patientName;
        this.createTime = LocalDateTime.now();
        this.updateTime = LocalDateTime.now();
    }

    // Getter和Setter方法
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getBedNumber() {
        return bedNumber;
    }

    public void setBedNumber(String bedNumber) {
        this.bedNumber = bedNumber;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String getM_type() {
        return "PatientStatus";
    }
}